//
//  BaseViewController.swift
//  FrameProduct
//
//  Created by delegate on 2024/2/4.
//

import UIKit
import SnapKit
class BaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.lxs.hex("#061637")
        
        setBgUI()
    }
    func setBgUI() {
        view.addSubview(bgImageView)
        bgImageView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    private lazy var bgImageView: UIImageView = {
        let imageView = UIImageView()
        imageView.image = UIImage(named: "vc_bg_img")
        imageView.isUserInteractionEnabled = true
        return imageView
    }()
}
